package models;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import play.db.jpa.Model;

/**
 * 实体类 - 管理员类
 * */
@Entity
@Table(name="managers")
public class Managers extends Model{
	
	@Column(name="rol_id",length=50)
	public String rolId;     //角色id	
	@Column(name="man_num",length=50)
	public String manNum;    //管理员账号
	@Column(name="man_pass",length=32)
	public String manPass;   //密码	
	@Column(name="man_name",length=50)
	public String manName;   //真实姓名	
	@Column(name="man_status")
	public int manStatus;    //状态

	public String toString(){
		return manName;
	}
}
